package fr.generali.poc.statemachine.states;

import fr.generali.poc.statemachine.events.Event;
import fr.generali.poc.statemachine.model.Dossier;
import fr.generali.poc.statemachine.model.TransitionModel;
import fr.generali.poc.statemachine.transitions.UpdateSuspensTransition;

public class StateA extends StateAbstract {

	public static String NAME = "STATE_A";
	private static StateA sInstance = new StateA();

	private StateA() {
	};

	public static StateA getInstance() {
		return sInstance;
	}

	public TransitionModel getTransition(Dossier d, Event e) {
		return new TransitionModel(StateA.getInstance(), UpdateSuspensTransition.NAME);
	}

	public String getNAME() {
		return NAME;
	}

}
